/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.case-container {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: auto;
    max-width: 1200px;
    gap: 20px;
}

/* Sidebar (Left) */
.case-sidebar {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.case-sidebar h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.case-search-box {
    display: flex;
    margin-bottom: 20px;
}

.case-search-box input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

.case-search-box button {
    padding: 10px 15px;
    background-color: #0073e6;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.case-recommended-news {
    list-style: none;
}

.case-recommended-news li {
    margin-bottom: 15px;
}

.case-recommended-news a {
    text-decoration: none;
    color: #333;
    font-size: 1em;
    font-weight: bold;
}

.case-recommended-news span {
    display: block;
    font-size: 0.9em;
    color: #888;
}

/* News Content (Right) */
.case-news-content {
    flex: 3;
}

.case-news-content h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

.case-publish-date {
    display: block;
    margin-bottom: 20px;
    color: #999;
}

.case-news-body p {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .case-container {
        flex-direction: column;
    }

    .case-sidebar {
        order: 2;
    }

    .case-news-content {
        order: 1;
    }
}
